Skip to main content

SortListDescendingText

Type

statement

Summary

Sorts Target in descending text order.

Syntax

sort <Target> in descending text order

Description

Text sort is performed by comparing string elements on a codepoint by codepoint basis.

note

It is an error if Target contains any elements of non-string type.

Parameters

NameTypeDescription

Target

An expression that evaluates to a list of strings.

Examples

    variable tTestList as List
put the empty list into tTestList

push "abcd" onto tTestList
push "xyz" onto tTestList

sort tTestList in descending text order -- tTestList is ["xyz", "abcd"]
Thank you for your feedback!

Was this page helpful?